package com.shopping.huaju.commodity.dao;

import com.shopping.huaju.commodity.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品 spu 信息
 * 
 * @author tofu
 * @email tofu@qq.com
 * @date 2023-11-09 13:21:12
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
	void updatePublishStatus(@Param("spuId")Long spuId,@Param("publishStatus")Integer publishStatus);

    void updaSpuStatus(@Param("spuId") Long spuId, @Param("code") int code);
}
